import request from '@/common/utils/request'
import {
	serv
} from '@/common/utils/config'

// 订单详情
export function getOrderDetail(data) {
	return request(serv.order + '/api/orders/getBySn', {
		method: 'get',
		data: data
	})
}

// 订单发货信息
export function getLogistics(data) {
	return request(serv.order + '/api/orders/getLogistics', {
		method: 'get',
		data: data
	})
}

// 订单日志（取消、提交失败)
export function getOrderLogs(data) {
	return request(serv.order + '/api/order/logs/listByOrderId', {
		method: 'get',
		data: data
	})
}

// 订单日志
export function queryOrderLogsInfo(data) {
	return request(serv.order + '/api/order/logs/queryOrderLogsInfo', {
		method: 'get',
		data: data
	})
}

